package com.bawei.detail.uistate

import com.bawei.common.entity.CommendEntity
import com.bawei.common.state.BaseUiState
import com.bawei.detail.entity.AuthorEntity

sealed class DetailUiState: BaseUiState(){

    object LoadEmpty: DetailUiState()

    data class LoadAuthorInfoSuccess(val entity:AuthorEntity): DetailUiState()

    data class LoadAuthorInfoFail(val msg: String): DetailUiState()

    data class LoadMovieCommendSuccess(val list: List<CommendEntity>): DetailUiState()

    data class LoadMovieCommendFail(val msg: String): DetailUiState()

}
